package com.neutech.service.impl;

import com.neutech.mapper.RegisterMapper;
import com.neutech.mapper.UserMapper;
import com.neutech.service.UserService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class UserServiceImpl implements UserService {
@Autowired
private UserMapper userMapper;

    @Override
    public List<Map<String, Object>> queryUser(String account,String password,String radio) {
        return userMapper.queryUserList(account,password,radio);
    }



    @Override
    public String queryUserKind(String account) {
        return  userMapper.queryUserKind(account);
    }

    @Override
    public String queryUserPassword(String account) {
       return userMapper.queryUserPassword(account);
    }
}
